<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>mbed-lib: mbed.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">mbed-lib
   &#160;<span id="projectnumber">1.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">mbed.h File Reference</div>  </div>
</div>
<div class="contents">

<p>In this file are all device definitions for the mbed platform.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;LPC17xx.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="mbed__can_8h_source.html">mbed_can.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="mbed__gpio_8h_source.html">mbed_gpio.h</a>&quot;</code><br/>
<code>#include &quot;mbed_led.h&quot;</code><br/>
<code>#include &quot;mbed_musb.h&quot;</code><br/>
<code>#include &quot;mbed_serial.h&quot;</code><br/>
<code>#include &quot;mbed_timer.h&quot;</code><br/>
</div>
<p><a href="mbed_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mbed_8h.html#a585d2ebc857bc36c4b9c69a08ff193d5">MBED_H</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga890a7b756538547816bf1d293d55f08f">INIT_LED</a>&#160;&#160;&#160;(1 &lt;&lt; 1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga19a97bd2f01c3b5c8fd9e5361fd7d26f">INIT_MUSB</a>&#160;&#160;&#160;(1 &lt;&lt; 2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga17765237b60a9dce9252efde0621fa59">INIT_SERIAL0</a>&#160;&#160;&#160;(1 &lt;&lt; 3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga5d0eb8e9e017ca805867632c31ef8133">INIT_SERIAL1</a>&#160;&#160;&#160;(1 &lt;&lt; 4)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga3bad7b6ba765fd457119515f47aa455c">INIT_SERIAL2</a>&#160;&#160;&#160;(1 &lt;&lt; 5)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga1697cd805952df869ad2828947b63416">INIT_CAN0</a>&#160;&#160;&#160;(1 &lt;&lt; 6)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#gad09d20d08a77d3a19f1671f8ff94cb08">INIT_CAN1</a>&#160;&#160;&#160;(1 &lt;&lt; 7)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga6809fc6f42afcf396eba260f863619e7">INIT_TIMER0</a>&#160;&#160;&#160;(1 &lt;&lt; 8)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga15c42037d9ed8c95bd383fea361ba4a7">INIT_TIMER1</a>&#160;&#160;&#160;(1 &lt;&lt; 9)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga7b2430ec76c421dbdecd25bcc5c01243">INIT_TIMER2</a>&#160;&#160;&#160;(1 &lt;&lt; 10)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#gac95954aa2377ff4c9a3f14898c7543a6">INIT_TIMER3</a>&#160;&#160;&#160;(1 &lt;&lt; 11)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga87bb1341421f097efaf535b18c459e40">INIT_GPI</a>&#160;&#160;&#160;(1 &lt;&lt; 12)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__initflags.html#ga90ae372033d19b23c015750c3ccf6aef">INIT_GPO</a>&#160;&#160;&#160;(1 &lt;&lt; 13)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga8858b12ceefcc88cf7bf96a588752ebb">MBED_SYS_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga8c5b469d0e4f3e9554c933261a018845">MBED_LED_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga81a679148a414653b1d6090b3e1214c7">MBED_MUSB_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga7466f19fdce79c45c69688a3511e79b6">MBED_SERIAL0_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga801545f9ce38574b40150a3461fb642e">MBED_SERIAL1_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 4)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#gac451bd45a5e897f018766170985d473e">MBED_SERIAL2_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 5)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#gac5fb9311dcb54b0c6240e52dfd058a22">MBED_CAN0_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 6)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#gaaedb5828d2d465c1429791f791f58d70">MBED_CAN1_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 7)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#gafb22fc3b69ec6e91c291d079f1cafc98">MBED_TIMER0_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 8)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#gab1da646a48686df94af88d39699921c7">MBED_TIMER1_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 9)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga8b515c7c322a10fb44d653a36c2512b8">MBED_TIMER2_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 10)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga1f12fd142a9b44ec7131db2ea4892d1a">MBED_TIMER3_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 11)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga6cc7374507551518efc45c864d0e5dc7">MBED_GPI_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 12)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__statusflags.html#ga0d617ad7805e40e79ed18bb8919f71e9">MBED_GPO_INIT</a>&#160;&#160;&#160;(1 &lt;&lt; 13)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gaacb8fb12404667d72e56cb0ad87f4b6e">MBED_GPIOX</a>&#160;&#160;&#160;(1 &lt;&lt; 0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gad253114f5a5b4c752163d35f07d87aeb">MBED_GPIO5</a>&#160;&#160;&#160;(1 &lt;&lt; 1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga9b8aa26eb40edafd1d68a63d3eb93b50">MBED_GPIO6</a>&#160;&#160;&#160;(1 &lt;&lt; 2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga34573106dd56da5711f447c3efdc1620">MBED_GPIO7</a>&#160;&#160;&#160;(1 &lt;&lt; 3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga2b5c029d2c99bd6963c1c4dae441ea11">MBED_GPIO8</a>&#160;&#160;&#160;(1 &lt;&lt; 4)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga3cfeec8de94480ebf86aaaec5e46579f">MBED_GPIO9</a>&#160;&#160;&#160;(1 &lt;&lt; 5)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga7984098c217c526452bf0e554b538738">MBED_GPIO10</a>&#160;&#160;&#160;(1 &lt;&lt; 6)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga34c83eeaa0cbd41dc92c79f0d12ff859">MBED_GPIO11</a>&#160;&#160;&#160;(1 &lt;&lt; 7)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gafc67bdfefd071f9bcf738b3006dddbd1">MBED_GPIO12</a>&#160;&#160;&#160;(1 &lt;&lt; 8)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gaa42fbdcaa61b7c52235ccd30e9e6bc1c">MBED_GPIO13</a>&#160;&#160;&#160;(1 &lt;&lt; 9)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gae4698fb2f26e6dca2bfa31e969a2d749">MBED_GPIO14</a>&#160;&#160;&#160;(1 &lt;&lt; 10)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gaac0ef95b8b9b9f773cceb982ff7f7c70">MBED_GPIO15</a>&#160;&#160;&#160;(1 &lt;&lt; 11)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga66f0962480d688dc918a5b5add97243d">MBED_GPIO16</a>&#160;&#160;&#160;(1 &lt;&lt; 12)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gabe6426f8fb921ccee4d7c40f12a6f8d8">MBED_GPIO17</a>&#160;&#160;&#160;(1 &lt;&lt; 13)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga38468fada0b5d19b0696730dd364e8be">MBED_GPIO18</a>&#160;&#160;&#160;(1 &lt;&lt; 14)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga81e9ad7d876a9782a72fad156e366bf7">MBED_GPIO19</a>&#160;&#160;&#160;(1 &lt;&lt; 15)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gaec677fe7a5798f17c168289866a5a5cf">MBED_GPIO20</a>&#160;&#160;&#160;(1 &lt;&lt; 16)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga94c3ad25aa658d4b7e44580c2b154a68">MBED_GPIO21</a>&#160;&#160;&#160;(1 &lt;&lt; 17)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gaedb6d4f1f3eef2dc91e4518d12f855b6">MBED_GPIO22</a>&#160;&#160;&#160;(1 &lt;&lt; 18)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga8ea2e014cc16bba3580c743a99d2fbe1">MBED_GPIO23</a>&#160;&#160;&#160;(1 &lt;&lt; 19)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga51051c40e7fdedc986721c121c17ca86">MBED_GPIO24</a>&#160;&#160;&#160;(1 &lt;&lt; 20)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga8e029e6398dc9c44976dc97e6962fa06">MBED_GPIO25</a>&#160;&#160;&#160;(1 &lt;&lt; 21)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga976bffc5ef5ee8772cf17ced534e0dbe">MBED_GPIO26</a>&#160;&#160;&#160;(1 &lt;&lt; 22)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gaacbb6dc7856d32e20dbb47bbcf8badc6">MBED_GPIO27</a>&#160;&#160;&#160;(1 &lt;&lt; 23)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga0c76627039f7fc1f2873534512375e90">MBED_GPIO28</a>&#160;&#160;&#160;(1 &lt;&lt; 24)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#ga693bbfe2de386adbc85417df1e0385ea">MBED_GPIO29</a>&#160;&#160;&#160;(1 &lt;&lt; 25)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gpio.html#gad1c0b73c84f008fa34065c49ab5857da">MBED_GPIO30</a>&#160;&#160;&#160;(1 &lt;&lt; 26)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ports.html#gaaa7af21ade35f3662f2ae800a5553535">MBED_GPIO_P0</a>&#160;&#160;&#160;(MBED_GPIO5 | MBED_GPIO6 | MBED_GPIO7 | MBED_GPIO8 | MBED_GPIO9 | MBED_GPIO10 | MBED_GPIO11 | MBED_GPIO12 | MBED_GPIO13 | MBED_GPIO14 | MBED_GPIO15 | MBED_GPIO16 | MBED_GPIO17 | MBED_GPIO18 | MBED_GPIO27 | MBED_GPIO28 | MBED_GPIO29 | MBED_GPIO30)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ports.html#ga569a818860b2b687c386c71b90245fd3">MBED_GPIO_P1</a>&#160;&#160;&#160;(MBED_GPIO19 | MBED_GPIO20)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ports.html#gafbcb7439f01e451b6fc3e37d9c865b50">MBED_GPIO_P2</a>&#160;&#160;&#160;(MBED_GPIO21 | MBED_GPIO22 | MBED_GPIO23 | MBED_GPIO24 | MBED_GPIO25 | MBED_GPIO26)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#ga5f5ef3a71b090b481608153f906dc40c">MBED_SERIAL0</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#ga625f82c50401a48c2a8cb820e25ae10f">MBED_SERIAL1</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#gae49570abdae0dc7af0215677beecba41">MBED_SERIAL2</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#ga5d9fb1514d948fa58e12c5769769c5b8">MBED_CAN0</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#ga4bda50dc8e10e712c61ac5f953307e09">MBED_CAN1</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#gaf9eaf12c281f8206813424a597b90dd8">MBED_TIMER0</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#ga7748e6a07bc0bd2870b0e7527591bced">MBED_TIMER1</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#ga4194d031e8416ecc94d053ed5df56cbd">MBED_TIMER2</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__deviceid.html#gaff89a8a032a9000630a74e802fe79ee6">MBED_TIMER3</a>&#160;&#160;&#160;3</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mbed_8h.html#a56064159497d6e1856315680ebdc3ce3">initSys</a> (uint32_t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">System initialization function.  <a href="#a56064159497d6e1856315680ebdc3ce3"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mbed_8h.html#a1fcdabc48561cdbf457f8ebf3f061165">mbedStatus</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>In this file are all device definitions for the mbed platform. </p>
<p>Via these defines, all hardware peripherals are identified and initialized. <a class="el" href="group__initflags.html">Initalization flags</a> are used to indicate which peripherals should be initialized upons startup. <a class="el" href="group__statusflags.html">Status flags</a> set in <a class="el" href="mbed_8h.html#a1fcdabc48561cdbf457f8ebf3f061165">mbedStatus</a> then indicate which peripherals have been successfully initialized.</p>
<p>A number of device IDs is defined to identify various devices.</p>
<p>All mbed header files are included here for convience, so that including this header file is sufficient. </p>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="a585d2ebc857bc36c4b9c69a08ff193d5"></a><!-- doxytag: member="mbed.h::MBED_H" ref="a585d2ebc857bc36c4b9c69a08ff193d5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MBED_H</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Header guard. </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a56064159497d6e1856315680ebdc3ce3"></a><!-- doxytag: member="mbed.h::initSys" ref="a56064159497d6e1856315680ebdc3ce3" args="(uint32_t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void initSys </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>flags</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>System initialization function. </p>
<p>This function initializes the LPC1768 clock registers and any other functionality that is required. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">flags</td><td>Functionality to be initialized, indicated by setting corresponding bits.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__initflags.html">Initalization flags</a> </dd></dl>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a1fcdabc48561cdbf457f8ebf3f061165"></a><!-- doxytag: member="mbed.h::mbedStatus" ref="a1fcdabc48561cdbf457f8ebf3f061165" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t <a class="el" href="mbed_8h.html#a1fcdabc48561cdbf457f8ebf3f061165">mbedStatus</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Global status register. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__statusflags.html">Status flags</a> </dd></dl>

</div>
</div>
</div>


<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 18 2012 14:53:28 for mbed-lib by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
